import ffmpeg
import os




def ffmpeg(_files1,_files2):
    output = r'C:\Users\BoBO\Downloads\v2.2.0\123\output1.mp4'
    ffmpeg = r'D:\BoBO\WorkFlow\tools\Vm3u8Downloads\ffmpeg.exe'
    param = " -vcodec copy -acodec copy "
    cmd = ffmpeg + ' -i ' + _files1+' -i ' + _files2 + param + output
    print(cmd)
    os.system(cmd)
if __name__ == "__main__":
    _files1 = r'C:\Users\BoBO\Downloads\v2.2.0\123\电光一闪-游戏特效第二十二期第八课-CGJOY动画学院.mp4'
    _files2 = r'C:\Users\BoBO\Downloads\v2.2.0\123\电光一闪-游戏特效第二十二期第八课-CGJOY动画学院.aac'
    ffmpeg(_files1,_files2)
